using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ITS.Core.Domain.Publications;

namespace ITS.DAL.Publications
{
    public interface IPublicationRepository
    {
        IQueryable<PublicationCategory> GetAllActiveCategories();
        IQueryable<Publication> GetAllActivePublications();
        IQueryable<Publication> GetAllActivePublicationsByYear(int year);
        Publication Get(Guid publicationID);
        void Save(Publication publication);
        IQueryable<int> GetPulicationYears();

    }
}
